package com.ruoyi.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

import java.util.Map;

/**
 * 考试平台知识点对象 test_knowledge
 *
 */
@Data
public class TestKnowledge extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 知识点ID */
    private Long knowlId;

    /** 知识点名称 */
    private String knowlName;

    /** 学科id */
    private Long subjectId;

    /** 删除标识,0代表正常，1代表删除 */

    private Long knowlDel;


    private String searchValue;


    private Map<String, Object> params;

    public void setKnowlId(Long knowlId)
    {
        this.knowlId = knowlId;
    }

    public Long getKnowlId()
    {
        return knowlId;
    }
    public void setKnowlName(String knowlName)
    {
        this.knowlName = knowlName;
    }

    public String getKnowlName()
    {
        return knowlName;
    }
    public void setSubjectId(Long subjectId)
    {
        this.subjectId = subjectId;
    }

    public Long getSubjectId()
    {
        return subjectId;
    }
    public void setKnowlDel(Long knowlDel)
    {
        this.knowlDel = knowlDel;
    }

    public Long getKnowlDel()
    {
        return knowlDel;
    }
    public void setSearchValue(String searchValue)
    {
        this.searchValue = searchValue;
    }

    public String getSearchValue()
    {
        return searchValue;
    }
    public void setParams(Map<String, Object> params)
    {
        this.params = params;
    }

    public Map<String, Object> getParams()
    {
        return params;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("knowlId", getKnowlId())
                .append("parentId", getParentId())
                .append("parentName", getParentName())
                .append("knowlName", getKnowlName())
                .append("subjectId", getSubjectId())
                .append("knowlDel", getKnowlDel())
                .append("orderNum", getOrderNum())
                .append("ancestors", getAncestors())
                .append("children", getChildren())
                .append("searchValue", getSearchValue())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("remark", getRemark())
                .append("params", getParams())
                .toString();
    }
}
